package com.ruoyi.health.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 便民服务提供商对象 supplier
 * 
 * @author dalian
 * @date 2023-08-06
 */
public class Supplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务商ID */
    private Long id;

    /** 服务商名称 */
    @Excel(name = "服务商名称")
    private String name;

    /** 服务商员工人数 */
    @Excel(name = "服务商员工人数")
    private Long staffNum;

    /** 服务商年限 */
    @Excel(name = "服务商年限")
    private Long since;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStaffNum(Long staffNum) 
    {
        this.staffNum = staffNum;
    }

    public Long getStaffNum() 
    {
        return staffNum;
    }
    public void setSince(Long since) 
    {
        this.since = since;
    }

    public Long getSince() 
    {
        return since;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("staffNum", getStaffNum())
            .append("since", getSince())
            .toString();
    }
}
